package com.automobile.domain;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.io.Serializable;

@JsonIgnoreProperties(value = {"handler"})
public class Img implements Serializable{

    private int id;
    private String path;
    private int announceId;
    private int smartId;

    public Img() {
    }

    public Img(String path, int announceId) {
        this.path = path;
        this.announceId = announceId;
    }

    public int getSmartId() {
        return smartId;
    }

    public void setSmartId(int smartId) {
        this.smartId = smartId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public int getAnnounceId() {
        return announceId;
    }

    public void setAnnounceId(int announceId) {
        this.announceId = announceId;
    }

    @Override
    public String toString() {
        return "Img [id=" + id + ", path=" + path + ", announceId=" + announceId + "]";
    }

}
